package com.jd.nettydemo.domain;

import java.util.Map;

/**
 * Created by wymaoxiaoliang on 2017/3/2.
 */
public class RequestMessage extends Message {
    private String appId;
    private String serviceName;
    private long requestTime;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public long getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(long requestTime) {
        this.requestTime = requestTime;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("RequestMessage{");
        sb.append("appId='").append(appId).append('\'');
        sb.append(", serviceName='").append(serviceName).append('\'');
        sb.append(", requestTime=").append(requestTime);
        sb.append('}');
        return sb.toString();
    }
}
